  <% @page_heading = "Articles in #{h @category.name}" %>

  <% content_for('tasks') do %>
    <%= task_edit 'Edit this category', @category.id %>
  <% end %> 

  <%= start_form_tag :action=>"new" %>  
  <div class="list">	
    <table cellspacing="1" cellpadding="0">
    <% for article in @category.articles -%>
    <tr  <%= alternate_class -%>>  
      <td><%= image_tag 'checked.gif' %> <%= link_to article.title, :controller => "content", :action => "show", :id => article.id %></td>
      <td><%= distance_of_time_in_words_to_now article.created_at %> ago</td>
      <td><%= link_to responses(article.comments, 'comment'), :controller => 'comments', :article_id => article, :action => 'list' %></td>
    </tr>  
    <% end -%>
    </table>
  </div>